add_library_unity(
  duckdb_transaction
  OBJECT
  duck_transaction_manager.cpp
  duck_transaction.cpp
  meta_transaction.cpp
  undo_buffer_allocator.cpp
  undo_buffer.cpp
  transaction_context.cpp
  transaction.cpp
  transaction_manager.cpp
  commit_state.cpp
  rollback_state.cpp
  cleanup_state.cpp
  wal_write_state.cpp)
set(ALL_OBJECT_FILES
    ${ALL_OBJECT_FILES} $<TARGET_OBJECTS:duckdb_transaction>
    PARENT_SCOPE)
